<!-- 1.编写register.html注册页面
username、password、gender、hobby（用户名、密码、性别、爱好）四个输入框
2.在servlet中获取并在控制台输出注册数据。-->
<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>register</title> 
</head>
<body>

<form action="">
Username: <input type="text" name="user"><br>
Password: <input type="password" name="password"><br>
Gender:<input type="radio" name="sex" value="male">男
<input type="radio" name="sex" value="female">女<br>
Hobby:<input type="checkbox" name="vehicle" value="Bike">画画
<input type="checkbox" name="vehicle" value="Car">唱歌
<input type="checkbox" name="vehicle" value="Bike">跳舞
<input type="checkbox" name="vehicle" value="Car">写作
</form>
</body>
</html>